adTempus API
PreviousUpNext
IServerOptions::Item Method

Gets the option with the specified name or ordinal.

C++
HRESULT Item(VARIANT index, [out, retval] IServerOption** pVal);
C#
Item(VARIANT index, [out, retval] IServerOption* pVal);
Visual Basic
Sub Item(index As VARIANT, pVal As [out, retval] IServerOption*)
Parameters 
Description 
[in] VARIANT index 
The name or ordinal of the option to return. Valid ordinals range from 1 to Count. 
[out, retval] IServerOption** pVal 
On return, contains an IServerOption representing the option. 

The option with the specified name or ordinal. The method fails with ADT_E_NOT_FOUND if the index is invalid

adTempus API Reference version 3.0.0.0, revised 10/30/2008